#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.65)
AC_INIT([id3e],[0.0.1],[4179e1@gmail.com])
AC_CONFIG_SRCDIR(source/id3e.c)
AC_CONFIG_HEADERS([source/config.h])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE()
AM_GNU_GETTEXT_VERSION([0.17])
AM_GNU_GETTEXT([external])

# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL

AC_LANG([C])

# Checks for libraries.
AM_PATH_GTK_2_0(2.16.0)
GTK_LIBS=`pkg-config --libs gtk+-2.0 gmodule-2.0`
AC_SUBST(GTK_LIBS)
GTK_FLAGS=`pkg-config --cflags gtk+-2.0 gmodule-2.0`
AC_SUBST(GTK_FLAGS)

# Checks for header files.
AC_CHECK_HEADERS([string.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T

# Checks for library functions.
AC_CHECK_FUNCS([memset])

AC_CONFIG_FILES([Makefile source/Makefile po/Makefile.in])
AC_OUTPUT
